﻿/*
----------------------------------
    Rodeo Game Engine
    Rodeo Primitive Module
    BoundingVolume.h - header file
    Copyright(c) Marcin Goryca
----------------------------------
*/
#ifndef RODEO_ENTITY_BOUNDINGVOLUME_H_
#define RODEO_ENTITY_BOUNDINGVOLUME_H_

#ifndef RODEO_PRIMITIVE_GEOMETRY_H_
#include "primitive\geometry.h"
#endif

namespace rodeoentity
{
class BoundingVolume
{
public:
    BoundingVolume(){}

    ~BoundingVolume(){}

    // Get Radius
    float getRadius() const
    {
        return radius_;
    }

    // Sets the radius
    void setRadius(float new_radius)
    {
        radius_ = new_radius;
    }

    // Get the Cube (bounding box)
    rodeoprimitive::Cube* getBoundingBox() const
    {
        return bounding_box_;
    }

    // Sets Bounding Box
    void setBoundingBox(rodeoprimitive::Cube* new_cube)
    {
        bounding_box_ = new_cube;
    }

//==== MEMBERS ====//
private:
    float radius_;
    rodeoprimitive::Cube* bounding_box_;
};
}    //end of rodeoentity namespace
#endif	//RODEO_ENTITY_BOUNDINGVOLUME_H_